﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x020002F7 RID: 759
	public class TInformixOuterClause : TParseTreeNode
	{
		// Token: 0x06001AB2 RID: 6834 RVA: 0x0032E543 File Offset: 0x0032C743
		public override void init(object arg1)
		{
			this.tableList = new TTableList();
			if (arg1 is TFromTable)
			{
				this.fromTable = (TFromTable)arg1;
				return;
			}
			if (arg1 is TFromTableList)
			{
				this.fromTableList = (TFromTableList)arg1;
			}
		}

		// Token: 0x06001AB3 RID: 6835 RVA: 0x0032E57C File Offset: 0x0032C77C
		public override void doParse(TCustomSqlStatement psql, ESqlClause plocation)
		{
			if (this.fromTable != null)
			{
				this.tableList.addTable(psql.analyzeFromTable(this.fromTable, new bool?(true)));
				return;
			}
			if (this.fromTableList != null)
			{
				for (int i = 0; i < this.fromTableList.size(); i++)
				{
					this.tableList.addTable(psql.analyzeFromTable(this.fromTableList.getFromTable(i), new bool?(true)));
				}
			}
		}

		// Token: 0x170005FD RID: 1533
		// (set) Token: 0x06001AB4 RID: 6836 RVA: 0x0032E5F0 File Offset: 0x0032C7F0
		public virtual TFromTable FromTable
		{
			set
			{
				this.fromTable = value;
			}
		}

		// Token: 0x170005FE RID: 1534
		// (set) Token: 0x06001AB5 RID: 6837 RVA: 0x0032E5F9 File Offset: 0x0032C7F9
		public virtual TFromTableList FromTableList
		{
			set
			{
				this.fromTableList = value;
			}
		}

		// Token: 0x170005FF RID: 1535
		// (set) Token: 0x06001AB6 RID: 6838 RVA: 0x0032E602 File Offset: 0x0032C802
		public virtual TTableList TableList
		{
			set
			{
				this.tableList = value;
			}
		}

		// Token: 0x040019B7 RID: 6583
		private TFromTable fromTable;

		// Token: 0x040019B8 RID: 6584
		private TFromTableList fromTableList;

		// Token: 0x040019B9 RID: 6585
		private TTableList tableList;
	}
}
